home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
screamin.swf
/
scripts
/
frame_4
/
PlaceObject3_131_212
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Wrap
Text File
|
2010-03-13
|
394b
|
19 lines
onClipEvent(enterFrame){
if(_root.busRotateOn != "on")
{
var accel = 1000 / (_root.busSpeed * 10);
var lx = this._x + _xmouse / _root.traction / accel;
if(lx < 190)
{
lx = 190;
}
else if(lx > 355)
{
lx = 355;
}
this._x = lx;
this._rotation = _xmouse / 15 / accel;
this._y = 270;
}
}